﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class DebugText : MonoBehaviour
{
    void Start()
    {
        
    }

    void Update()
    {
        var textComps = transform.GetComponentsInChildren<Text>();
        foreach (var c in textComps) c.enabled = Debug.isDebugBuild;
    }
}
